function main() {
    const self = this;
    self.$watch('pageKey', (newVal, oldVal) => {
        console.log(newVal, oldVal)

        //审核超时预警
        api.EXEC_FORMULA("ENTITY_SELECT_ONE('t_32a2b89ef7df4b86a38eff79525b9b0f',enable_flag,QUERY_EQ(id,1))").then(function (response) {
            let auditFlag = response.result === "1";
            // true 显示导航 false 隐藏导航
            let audit = document.querySelector("#app > div > article > section > div.u-app-render-aside.u-app-render-aside-v22 > section.app-menu-wrapper > ul > li.ant-menu-item.ant-menu-item-selected.current-menu");
            if (auditFlag) {
                audit.style.display = "block";
            } else {
                audit.style.display = "none";
            }
            console.log('auditFag', auditFag)
        })

        //试用转正预警
        api.EXEC_FORMULA("ENTITY_SELECT_ONE('t_32a2b89ef7df4b86a38eff79525b9b0f',enable_flag,QUERY_EQ(id,2))").then(function (response) {
            let conversionFlag = response.result === "1";
            let conversion = document.querySelector("#app > div > article > section > div.u-app-render-aside.u-app-render-aside-v22 > section.app-menu-wrapper > ul > li:nth-child(2)");
            if (conversionFlag) {
                conversion.style.display = "block";
            } else {
                conversion.style.display = "none";
            }
            console.log('conversionFag', conversionFag)
        })

        //证件到期预警
        api.EXEC_FORMULA("ENTITY_SELECT_ONE('t_32a2b89ef7df4b86a38eff79525b9b0f',enable_flag,QUERY_EQ(id,3))").then(function (response) {
            let expirationFlag = response.result === "1";
            let expiration = document.querySelector("#app > div > article > section > div.u-app-render-aside.u-app-render-aside-v22 > section.app-menu-wrapper > ul > li:nth-child(3)");
            if (expirationFlag) {
                expiration.style.display = "block";
            } else {
                expiration.style.display = "none";
            }
            console.log('conversionFag', expirationFag)
        })
    })
}

// 试用转正
// 1868604396151013376
// 1868604396151013376/1746786752698 1868604391637942272/1746786752698

// 审核超时
// 1868604391637942272
// 1868604391637942272/1746786752698 1868604396151013376/1746786752698

// 证件到期
// 1868604400425009152
// 1868604400425009152/1746786752698 1868604391637942272/1746786752698
// document.querySelector("#app > div > article > section > div.u-app-render-aside.u-app-render-aside-v22 > section.app-menu-wrapper > ul > li.ant-menu-item.ant-menu-item-selected.current-menu")
